package com.study.spark.scala.chapter02

import java.io.{File, PrintWriter}


object Scala05_IO_1 {

  def main(args: Array[String]): Unit = {
    // TODO IO 输出
    // 进行的文件写操作都是用java的IO类
    val writer = new PrintWriter(new File("output/test.txt" ))
    writer.write("Hello Scala")
    writer.close()

  }
}
